<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="javax.servlet.http.Cookie" %>    
<%@ page import="java.net.*" %>  
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>往届题目查询</title>
<link rel="stylesheet" type="text/css" href="<c:url value='/css/style.css'/>">
<link rel="stylesheet" type="text/css" href="<c:url value='/css/common.css'/>">
<style type="text/css">
td, th {
	padding: 5px;
	height:40px;
}
#tab1{
	margin-top:60px;
}
#tab{
	width:90%;
	border:0;
	text-align:center;
	background-color:#666666;
	margin:10px auto;
}
</style>
</head>
<body>
	<div class="m-right">
		<div class="right-nav">
			<ul>
				<li><img src="../public/images/home.png"></li>
				<li style="margin-left: 25px;">您当前的位置：</li>
				<li><a href="#">查询</a></li>
				<li>&gt;</li>
				<li><a href="#">往届题目查询</a></li>
			</ul>
		</div>
		<div class="main">
			<div class="cont">
				<form action="<c:url value='/search/previous'/>" method="post">
					<ul>
						<li>
							<input type="text" placeholder="请输入关键字" name="title" class="input_btn"/> 
							<input type="submit" class="btn-style" value="查询" />
						</li>
					</ul>
				</form>
			</div>
			<div id="tab1">
				<h2 style="text-align: center; margin:20px auto">
					<b>显示相关论文题目列表</b>
				</h2>
				<table id="tab" cellpadding="0" cellspacing="1">
					<tr>
						<th bgcolor="#FFFFFF">论题</th>
						<th bgcolor="#FFFFFF">相似度</th>		
						<th bgcolor="#FFFFFF">发布时间</th>		
					</tr>
					<c:forEach items="${requestScope.thesisBeans }" var="thesisBean">
					<tr>
						<th bgcolor="#FFFFFF">${thesisBean.thesisName }</th>
						<th bgcolor="#FFFFFF">${thesisBean.score }</th>		
						<th bgcolor="#FFFFFF">${thesisBean.createDate }</th>		
					</tr>
					</c:forEach>
				</table>
			</div>
			<div align="center">
				<a href="">第一页</a> 
				<a href="">上一页</a> 
				<a href="">下一页</a> 
				<a href="">最后一页</a>
			</div>
		</div>
	</div>
</body>
</html>